<template>
  <div id="app">

    <header class="header">
      <router-link to="/home">home</router-link>
      <router-link to="/news">news</router-link>
      <router-link to="/action">action</router-link>
    </header>

    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "app",
  data() {
    return {
      msg: "主页组件"
    };
  }
};
</script>

<style lang="scss">
</style>